<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="robots" content="noodp" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
        <title>Tiddlywiki快捷启动 - 不爱学习的小卢</title><meta name="Description" content="记录分享知识、生活、技术"><meta property="og:title" content="Tiddlywiki快捷启动" />
<meta property="og:description" content="TiddlyWiki nodejs版快捷启动 [TOC] 简介 TiddlyWiki是一个很好用的开源wiki系统，整个只有一个html，但是要在自己电脑上使用，每次保存都会" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://levonlu.gitee.io/posts/tiddlywiki%E5%BF%AB%E6%8D%B7%E5%90%AF%E5%8A%A8/" /><meta property="article:section" content="posts" />
<meta property="article:published_time" content="2021-09-16T14:47:37+08:00" />
<meta property="article:modified_time" content="2021-09-16T14:47:37+08:00" />

<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Tiddlywiki快捷启动"/>
<meta name="twitter:description" content="TiddlyWiki nodejs版快捷启动 [TOC] 简介 TiddlyWiki是一个很好用的开源wiki系统，整个只有一个html，但是要在自己电脑上使用，每次保存都会"/>
<meta name="application-name" content="小卢TinyLu">
<meta name="apple-mobile-web-app-title" content="小卢TinyLu"><meta name="theme-color" content="#ffffff"><meta name="msapplication-TileColor" content="#da532c"><link rel="icon" href="safari-pinned-tab.svg"><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"><link rel="manifest" href="/site.webmanifest"><link rel="canonical" href="https://levonlu.gitee.io/posts/tiddlywiki%E5%BF%AB%E6%8D%B7%E5%90%AF%E5%8A%A8/" /><link rel="stylesheet" href="/lib/normalize/normalize.min.css"><link rel="stylesheet" href="/css/style.min.css"><link rel="stylesheet" href="/lib/fontawesome-free/all.min.css"><link rel="stylesheet" href="/lib/animate/animate.min.css"><script type="application/ld+json">
    {
        "@context": "http://schema.org",
        "@type": "BlogPosting",
        "headline": "Tiddlywiki快捷启动",
        "inLanguage": "zh-CN",
        "mainEntityOfPage": {
            "@type": "WebPage",
            "@id": "https:\/\/levonlu.gitee.io\/posts\/tiddlywiki%E5%BF%AB%E6%8D%B7%E5%90%AF%E5%8A%A8\/"
        },"genre": "posts","keywords": "tiddlywiki","wordcount":  973 ,
        "url": "https:\/\/levonlu.gitee.io\/posts\/tiddlywiki%E5%BF%AB%E6%8D%B7%E5%90%AF%E5%8A%A8\/","datePublished": "2021-09-16T14:47:37+08:00","dateModified": "2021-09-16T14:47:37+08:00","publisher": {
            "@type": "Organization",
            "name": "小卢"},"author": {
                "@type": "Person",
                "name": "小卢"
            },"description": ""
    }
    </script></head>
    <body header-desktop="fixed" header-mobile="auto"><script type="text/javascript">(window.localStorage && localStorage.getItem('theme') ? localStorage.getItem('theme') === 'dark' : ('' === 'auto' ? window.matchMedia('(prefers-color-scheme: dark)').matches : '' === 'dark')) && document.body.setAttribute('theme', 'dark');</script>

        <div id="mask"></div><div class="wrapper"><header class="desktop" id="header-desktop">
    <script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?7f1650edb945f61c040012ecadd2773d";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>

    <div class="header-wrapper">
        <div class="header-title">
            <a href="/" title="不爱学习的小卢"><span class="header-title-pre">💖</span>不爱学习的小卢</a>
        </div>
        <div class="menu">
            <div class="menu-inner"><a class="menu-item" href="/posts/"> 所有文章 </a><a class="menu-item" href="/tags/"> 标签 </a><a class="menu-item" href="/categories/"> 分类 </a><span class="menu-item delimiter"></span><span class="menu-item search" id="search-desktop">
                        <input type="text" placeholder="搜索文章标题或内容..." id="search-input-desktop">
                        <a href="javascript:void(0);" class="search-button search-toggle" id="search-toggle-desktop" title="搜索">
                            <i class="fas fa-search fa-fw"></i>
                        </a>
                        <a href="javascript:void(0);" class="search-button search-clear" id="search-clear-desktop" title="清空">
                            <i class="fas fa-times-circle fa-fw"></i>
                        </a>
                        <span class="search-button search-loading" id="search-loading-desktop">
                            <i class="fas fa-spinner fa-fw fa-spin"></i>
                        </span>
                    </span><a href="javascript:void(0);" class="menu-item theme-switch" title="切换主题">
                    <i class="fas fa-adjust fa-fw"></i>
                </a>
            </div>
        </div>
    </div>
</header><header class="mobile" id="header-mobile">
    <div class="header-container">
        <div class="header-wrapper">
            <div class="header-title">
                <a href="/" title="不爱学习的小卢"><span class="header-title-pre">💖</span>不爱学习的小卢</a>
            </div>
            <div class="menu-toggle" id="menu-toggle-mobile">
                <span></span><span></span><span></span>
            </div>
        </div>
        <div class="menu" id="menu-mobile"><div class="search-wrapper">
                    <div class="search mobile" id="search-mobile">
                        <input type="text" placeholder="搜索文章标题或内容..." id="search-input-mobile">
                        <a href="javascript:void(0);" class="search-button search-toggle" id="search-toggle-mobile" title="搜索">
                            <i class="fas fa-search fa-fw"></i>
                        </a>
                        <a href="javascript:void(0);" class="search-button search-clear" id="search-clear-mobile" title="清空">
                            <i class="fas fa-times-circle fa-fw"></i>
                        </a>
                        <span class="search-button search-loading" id="search-loading-mobile">
                            <i class="fas fa-spinner fa-fw fa-spin"></i>
                        </span>
                    </div>
                    <a href="javascript:void(0);" class="search-cancel" id="search-cancel-mobile">
                        取消
                    </a>
                </div><a class="menu-item" href="/posts/" title="">所有文章</a><a class="menu-item" href="/tags/" title="">标签</a><a class="menu-item" href="/categories/" title="">分类</a><a href="javascript:void(0);" class="menu-item theme-switch" title="切换主题">
                <i class="fas fa-adjust fa-fw"></i>
            </a></div>
    </div>
</header>
<div class="search-dropdown desktop">
    <div id="search-dropdown-desktop"></div>
</div>
<div class="search-dropdown mobile">
    <div id="search-dropdown-mobile"></div>
</div>
<main class="main">
                <div class="container"><div class="toc" id="toc-auto">
            <h2 class="toc-title">目录</h2>
            <div class="toc-content" id="toc-content-auto"></div>
        </div><article class="page single"><h1 class="single-title animated flipInX">Tiddlywiki快捷启动</h1><h2 class="single-subtitle">Tiddlywiki快捷启动</h2><div class="post-meta">
            <div class="post-meta-line"><span class="post-author"><a href="/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw"></i>小卢</a></span>&nbsp;<span class="post-category">收录于 <a href="/categories/tech/"><i class="far fa-folder fa-fw"></i>tech</a></span></div>
            <div class="post-meta-line"><i class="far fa-calendar-alt fa-fw"></i>&nbsp;<time datetime="2021-09-16">2021-09-16</time>&nbsp;<i class="fas fa-pencil-alt fa-fw"></i>&nbsp;约 973 字&nbsp;
                <i class="far fa-clock fa-fw"></i>&nbsp;预计阅读 2 分钟&nbsp;</div>
        </div><div class="details toc" id="toc-static"  kept="true">
                <div class="details-summary toc-title">
                    <span>目录</span>
                    <span><i class="details-icon fas fa-angle-right"></i></span>
                </div>
                <div class="details-content toc-content" id="toc-content-static"><nav id="TableOfContents">
  <ul>
    <li>
      <ul>
        <li><a href="#简介">简介</a></li>
        <li><a href="#安装">安装</a></li>
        <li><a href="#使用">使用</a></li>
        <li><a href="#附">附</a></li>
      </ul>
    </li>
  </ul>
</nav></div>
            </div><div class="content" id="content"><p>TiddlyWiki nodejs版快捷启动</p>
<p>[TOC]</p>
<h3 id="简介">简介</h3>
<p><a href="https://tiddlywiki.com/" target="_blank" rel="noopener noreffer">TiddlyWiki</a>是一个很好用的开源wiki系统，整个只有一个html，但是要在自己电脑上使用，每次保存都会将更改后的wiki保存为一个新的文件，光一个html的话体验会很不好。对于这个问题，官网列出来很多<a href="https://tiddlywiki.com/#GettingStarted" target="_blank" rel="noopener noreffer">解决方案</a>。这里介绍的是适合自己PC使用的一种方法。</p>
<p>小工具的诞生缘由是<a href="https://tiddlywiki.com/" target="_blank" rel="noopener noreffer">tw5</a>在本机的部署上让我觉得不那么优雅，恰好在<a href="https://www.appinn.com/" target="_blank" rel="noopener noreffer">小众软件</a>一个<a href="https://meta.appinn.net/t/topic/13744" target="_blank" rel="noopener noreffer">教程</a>的评论中看到有<a href="https://www.autohotkey.com/" target="_blank" rel="noopener noreffer">AutoHotKey</a>这么个神奇的东西，边学边搞出来一个这样的东西。</p>
<h3 id="安装">安装</h3>
<h4 id="自己动手版">自己动手版</h4>
<p>在<a href="https://nodejs.org/en/download/" target="_blank" rel="noopener noreffer">nodejs</a>下载Windows版的zip包，如下图所示</p>
<p><img
        class="lazyload"
        src="/svg/loading.min.svg"
        data-src="https://pic-1306165146.cos.ap-nanjing.myqcloud.com/image-20210915200630692.png"
        data-srcset="https://pic-1306165146.cos.ap-nanjing.myqcloud.com/image-20210915200630692.png, https://pic-1306165146.cos.ap-nanjing.myqcloud.com/image-20210915200630692.png 1.5x, https://pic-1306165146.cos.ap-nanjing.myqcloud.com/image-20210915200630692.png 2x"
        data-sizes="auto"
        alt="https://pic-1306165146.cos.ap-nanjing.myqcloud.com/image-20210915200630692.png"
        title="image-20210915200630692" /></p>
<p>从TiddlyWiki的GitHub仓库下载<a href="https://github.com/Jermolene/TiddlyWiki5/releases" target="_blank" rel="noopener noreffer">realease zip</a>包</p>
<p>解压两个压缩包，把nodejs压缩包中的<code>node.exe</code>复制到TiddlyWiki的文件夹中（如图）</p>
<p><img
        class="lazyload"
        src="/svg/loading.min.svg"
        data-src="https://pic-1306165146.cos.ap-nanjing.myqcloud.com/image-20210915201336212.png"
        data-srcset="https://pic-1306165146.cos.ap-nanjing.myqcloud.com/image-20210915201336212.png, https://pic-1306165146.cos.ap-nanjing.myqcloud.com/image-20210915201336212.png 1.5x, https://pic-1306165146.cos.ap-nanjing.myqcloud.com/image-20210915201336212.png 2x"
        data-sizes="auto"
        alt="https://pic-1306165146.cos.ap-nanjing.myqcloud.com/image-20210915201336212.png"
        title="image-20210915201336212" /></p>
<p>此时已经可以使用nodejs来运行TiddlyWIki服务器了，手动运行的方式百度<code>TiddlyWiki nodejs</code>就可以找到，此处不做说明。</p>
<p>接下来说明我自己写的小脚本的启动方式。</p>
<p>下载压缩包后将文件解压，里面的文件复制到TiddlyWiki的文件夹中。</p>
<p>此时文件夹内应该是这个样子</p>
<p><img
        class="lazyload"
        src="/svg/loading.min.svg"
        data-src="https://pic-1306165146.cos.ap-nanjing.myqcloud.com/image-20210916112724081.png"
        data-srcset="https://pic-1306165146.cos.ap-nanjing.myqcloud.com/image-20210916112724081.png, https://pic-1306165146.cos.ap-nanjing.myqcloud.com/image-20210916112724081.png 1.5x, https://pic-1306165146.cos.ap-nanjing.myqcloud.com/image-20210916112724081.png 2x"
        data-sizes="auto"
        alt="https://pic-1306165146.cos.ap-nanjing.myqcloud.com/image-20210916112724081.png"
        title="image-20210916112724081" /></p>
<p>这个时候就已经算是安装完了，也不算严格意义上的安装，就是把需要的东西拼凑在一起，如果懒得自己下载各种文件自己拼，可以直接看下面的懒人版。</p>
<h4 id="懒人版">懒人版</h4>
<p>直接下载<code>TiddlyWiki5-5.1.23-Integration.7z</code>解压即可。</p>
<h3 id="使用">使用</h3>
<p>完成上面的安装步骤之后，打开文件夹，打开<code>TWServerLaunch.exe</code>，起一个自己想要的名字，创建然后启动即可。</p>
<p><img
        class="lazyload"
        src="/svg/loading.min.svg"
        data-src="https://pic-1306165146.cos.ap-nanjing.myqcloud.com/image-20210916112821736.png"
        data-srcset="https://pic-1306165146.cos.ap-nanjing.myqcloud.com/image-20210916112821736.png, https://pic-1306165146.cos.ap-nanjing.myqcloud.com/image-20210916112821736.png 1.5x, https://pic-1306165146.cos.ap-nanjing.myqcloud.com/image-20210916112821736.png 2x"
        data-sizes="auto"
        alt="https://pic-1306165146.cos.ap-nanjing.myqcloud.com/image-20210916112821736.png"
        title="image-20210916112821736" /></p>
<p>导出单文件是把wiki导出为一个html文件，这个文件内包含了所有的内容，方便分享与携带。</p>
<p>关闭服务器：关闭<code>TWServerLaunch.exe</code>即可。</p>
<p>后续还有一些待完善和更好用的计划，有时间了更新。脚本开源在<a href="https://gitee.com/lawlevon/tiddly-wiki-server-launch-pc.git" target="_blank" rel="noopener noreffer">Gitee</a></p>
<h3 id="附">附</h3>
<h4 id="下载地址">下载地址</h4>
<p>天翼云：https://cloud.189.cn/t/rInUZj6jiuIr 访问码:wts8</p>
<p>蓝奏云：https://wwr.lanzoui.com/b02ocogod 密码:tinylu</p>
<p>文叔叔：https://ws28.cn/f/6eolpxhd5et 密码:2076</p>
<h4 id="参考资料">参考资料</h4>
<p><a href="https://meta.appinn.net/t/topic/13744" target="_blank" rel="noopener noreffer">笔记\TiddlyWiki+Node.js 打造本地便携wiki - 大家的板块 / allor的无聊 - 小众软件官方论坛 (appinn.net)</a></p>
<p><a href="https://tiddlywiki.com/" target="_blank" rel="noopener noreffer">tiddlywiki官网</a></p>
</div><div class="post-footer" id="post-footer">
    <div class="post-info">
        <div class="post-info-line">
            <div class="post-info-mod">
                <span>更新于 2021-09-16</span>
            </div>
            <div class="post-info-license"></div>
        </div>
        <div class="post-info-line">
            <div class="post-info-md"></div>
            <div class="post-info-share">
                <span></span>
            </div>
        </div>
    </div>

    <div class="post-info-more">
        <section class="post-tags"><i class="fas fa-tags fa-fw"></i>&nbsp;<a href="/tags/tiddlywiki/">tiddlywiki</a></section>
        <section>
            <span><a href="javascript:void(0);" onclick="window.history.back();">返回</a></span>&nbsp;|&nbsp;<span><a href="/">主页</a></span>
        </section>
    </div>

    <div class="post-nav"></div>
</div>
</article></div>
            </main><footer class="footer">
        <div class="footer-container"><div class="footer-line">---</div><div class="footer-line">由 <a href="https://gohugo.io/" target="_blank" rel="noopener noreffer" title="Hugo 0.87.0">Hugo</a> 强力驱动 | 主题 - <a href="https://github.com/dillonzq/LoveIt" target="_blank" rel="noopener noreffer" title="LoveIt 0.2.10"><i class="far fa-kiss-wink-heart fa-fw"></i> LoveIt</a>
                </div><div class="footer-line"><i class="far fa-copyright fa-fw"></i><span itemprop="copyrightYear">2021</span><span class="author" itemprop="copyrightHolder">&nbsp;<a href="/" target="_blank"></a></span>&nbsp;|&nbsp;<span class="license"><a rel="license external nofollow noopener noreffer" href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank">CC BY-NC 4.0</a></span></div>
        </div>
    </footer></div>

        <div id="fixed-buttons"><a href="#" id="back-to-top" class="fixed-button" title="回到顶部">
                <i class="fas fa-arrow-up fa-fw"></i>
            </a><a href="#" id="view-comments" class="fixed-button" title="查看评论">
                <i class="fas fa-comment fa-fw"></i>
            </a>
        </div><link rel="stylesheet" href="/lib/lightgallery/lightgallery.min.css"><link rel="stylesheet" href="/lib/katex/katex.min.css"><link rel="stylesheet" href="/lib/katex/copy-tex.min.css"><script type="text/javascript" src="/lib/smooth-scroll/smooth-scroll.min.js"></script><script type="text/javascript" src="/lib/autocomplete/autocomplete.min.js"></script><script type="text/javascript" src="/lib/lunr/lunr.min.js"></script><script type="text/javascript" src="/lib/lunr/lunr.stemmer.support.min.js"></script><script type="text/javascript" src="/lib/lunr/lunr.zh.min.js"></script><script type="text/javascript" src="/lib/lazysizes/lazysizes.min.js"></script><script type="text/javascript" src="/lib/twemoji/twemoji.min.js"></script><script type="text/javascript" src="/lib/lightgallery/lightgallery.min.js"></script><script type="text/javascript" src="/lib/lightgallery/lg-thumbnail.min.js"></script><script type="text/javascript" src="/lib/lightgallery/lg-zoom.min.js"></script><script type="text/javascript" src="/lib/clipboard/clipboard.min.js"></script><script type="text/javascript" src="/lib/katex/katex.min.js"></script><script type="text/javascript" src="/lib/katex/auto-render.min.js"></script><script type="text/javascript" src="/lib/katex/copy-tex.min.js"></script><script type="text/javascript" src="/lib/katex/mhchem.min.js"></script><script type="text/javascript">window.config={"code":{"copyTitle":"复制到剪贴板","maxShownLines":10},"comment":{},"lightGallery":{"actualSize":false,"exThumbImage":"data-thumbnail","hideBarsDelay":2000,"selector":".lightgallery","speed":400,"thumbContHeight":80,"thumbWidth":80,"thumbnail":true},"math":{"delimiters":[{"display":true,"left":"$$","right":"$$"},{"display":true,"left":"\\[","right":"\\]"},{"display":false,"left":"$","right":"$"},{"display":false,"left":"\\(","right":"\\)"}],"strict":false},"search":{"highlightTag":"em","lunrIndexURL":"/index.json","lunrLanguageCode":"zh","lunrSegmentitURL":"/lib/lunr/lunr.segmentit.js","maxResultLength":10,"noResultsFound":"没有找到结果","snippetLength":50,"type":"lunr"},"twemoji":true};</script><script type="text/javascript" src="/js/theme.min.js"></script></body>
</html>
